package com.example.javabasic.shejimoshi.danli.demo1;

public class Singleton {
    private static final Singleton instance = new Singleton();

    private Singleton(){

    }
    public static Singleton getInstance(){
        return instance;
    }

}
